-
Home
-
News-Parser
-
2.3.4 (latest)
-
Code
-
Classes
- GeneratePostBodyWithAI
Total Complexity |
77 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
322 |
Lines of code |
273 |
Logical lines of code |
165 |
Comment lines |
8 |
Methods |
21 |
Properties |
2 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
encodeBodyWithStructure() |
A |
49 |
13 |
31 |
encodeBody() |
A |
45 |
12 |
45 |
replaceOriginalContentArray() |
S |
61 |
8 |
11 |
decodeBody() |
S |
50 |
6 |
30 |
processBodyArray() |
S |
54 |
6 |
22 |
extractHeadins() |
S |
57 |
6 |
16 |
__invoke() |
S |
54 |
3 |
21 |
shouldGenerateWithAI() |
S |
70 |
4 |
6 |
countParagraphs() |
S |
63 |
3 |
11 |
preparePostBody() |
S |
65 |
3 |
8 |
preparePrompt() |
S |
63 |
2 |
10 |
replaceOriginalContent() |
S |
69 |
2 |
7 |
getAIRequestOptions() |
S |
63 |
1 |
12 |
replaceOriginalContentString() |
S |
63 |
1 |
11 |
removePromptTags() |
S |
72 |
1 |
5 |
unwrapBody() |
S |
73 |
1 |
5 |
processBodyString() |
S |
71 |
1 |
5 |
processPipelines() |
S |
67 |
1 |
7 |
encondeToJSON() |
S |
79 |
1 |
3 |
decodeJSON() |
S |
74 |
1 |
4 |
__construct() |
S |
81 |
1 |
3 |